package com.gitee.cirnochat.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class SessionStatusChangeEvent extends ApplicationEvent {
    private final String user;
    private final Long sessionId;
    private final Boolean typing;

    public SessionStatusChangeEvent(Object source, String user, Long sessionId, Boolean typing) {
        super(source);
        this.user = user;
        this.sessionId = sessionId;
        this.typing = typing;
    }
}
